package com.bt.config;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name="m_user")
public class User {
    @Id
    @KeySql(useGeneratedKeys=true)
    private  Long id;
    private String name;
    private String sex;
    private String age;
    private String phone;
    private String address;
    private Date birthday;


}
